#include"textLocation.h"
#include"textRecognition.h"
int main()
{
	Mat textObj;
	Mat img_scene_ori = imread("1.png", IMREAD_GRAYSCALE);
	textLocation(textObj, img_scene_ori);
	imshow("text", textObj);
	waitKey(0);
	string text;
	textRecognition(textObj, text);
	cout << text << endl;
	getchar();
}